Problems with tag O(m * nlogn)